home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010306-20010921 / 000350_fdc@watsun.cc.columbia.edu_Fri Aug 31 15:46:43 EDT 2001.msg < prev    next >
Text File  |  2020-01-01  |  1KB  |  33 lines

  1. Article: 12734 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
  3. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: How to capture only text data with Kermit
  6. Date: 31 Aug 2001 19:46:39 GMT
  7. Organization: Columbia University
  8. Lines: 16
  9. Message-ID: <9mopiv$gih$1@newsmaster.cc.columbia.edu>
  10. References: <3B8FE7BA.9967C8DB@abrinco.com.ar>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 999287199 16977 128.59.39.2 (31 Aug 2001 19:46:39 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 31 Aug 2001 19:46:39 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12734
  16.  
  17. In article <3B8FE7BA.9967C8DB@abrinco.com.ar>,
  18. Marcelo P. Larumbe <marcelo@abrinco.com.ar> wrote:
  19. : I am user of Kermit 7.0.196 for Linux and I need to capture text data
  20. : without any escape sequences. I would much appreciate if somebody could
  21. : tell me how to do it.
  22. There is no way built in to C-Kermit to do this.  Although it does have
  23. "set session-log text", this mainly just strips out carriage returns and
  24. NULs, not escape sequences.
  25.  
  26. If they are standard ANSI-format escape sequences, it would not be hard
  27. to write a postprocessor to strip them out of the session log based on the
  28. finite state machine in ckucns.c (look at routine chkaes()).  This would
  29. be a nice little project for a bored C programmer :-)
  30.  
  31. - Frank
  32.